Creating custom BuildingGen packages
BuildingGen is completely extensible with the use of external assets. By importing specific items or comprehensive sets of building models, any architectural style can be achieved.
- Start by converting external contents into usable unit parts.
- Click on the Create Package button in the toolbar, or go to Plugins > Building Gen > Create Package.
 Building Gen Packager Workflow/1.png)
 Building Gen Packager Workflow/1.2.png)
- Enter a name for your package:
 Building Gen Packager Workflow/3.1.png)
- Enter a Unit Size value that is the same for the floor pieces. For instance, if a floor piece measures 2x2 meters, set the Unit Size to 2.0 m.
 Building Gen Packager Workflow/5.png)
- Add a building style to your BuildingGen configuration by clicking the Edit Style List button:
 Building Gen Packager Workflow/5.1.png)
- Click the Add button in the Style List to add a new building style.
Click the close button to exit the Style List window. Building Gen Packager Workflow/7.png)
- Navigate to Content Manager > Custom > Props > Props. Select the file that contains the custom unit components.
 Building Gen Packager Workflow/6.png)
- Drag and drop the floor piece into the Parts section in the BuildingGen Packager panel.
 Building Gen Packager Workflow/7.1.png)
- Select “Floor” within the Type column. This allows BuildingGen to recognize this prop as part of the floor during the construction process.
 Building Gen Packager Workflow/8.2.png)
- Return to the file containing the custom unit components, then drag and drop the remaining components into the Parts section. Remember to also change their types accordingly.
 Building Gen Packager Workflow/9.png)
- Select the proper levels for all of the parts (Ground, Middle, Top). Keep in mind that one part can be used across multiple levels.
 Building Gen Packager Workflow/10.png)
- For pieces intended for cut-corner constructions, enable the Corner option. In order to activate cut-corner constructions for your style package, you will need to assign all three pieces required to make a complete cut-corner segment: that is, a wall, floor, and pillar.
 Building Gen Packager Workflow/11.png)
- If your unit part has other material options, select the part and then drag and drop the material files into the Materials section. Subsequently, the material options within the Custom Style panel will also have expanded when it comes time to construct the actual buildings.
 Building Gen Packager Workflow/12.png)
BuildingGen only supports Material Plus (*.iMtlPlus) formats. For detailed instructions on creating and saving Material Plus files, consult this page. - In the Child Elements section, import the components you want attached to the selected unit part, by dragging and dropping them from the Content panel.
 Building Gen Packager Workflow/15.png)
- Assign a suitable tag to the component by opening the drop-down menu of the Tag column.
 Building Gen Packager Workflow/16.png)
Note:Tags function as important identifiers for child elements within BuildingGen. When a building style is exchanged while the Keep Structure option is active, BuildingGen will substitute the child elements of the previous style with new ones that have corresponding tags. Any child elements that lack tags or possess tags that do not match will be removed from the building.
- Click the Position Setting button to begin editing the position of the selected child element. Do this for every child element.
 Building Gen Packager Workflow/17.png)
- Click the Save iBuildingConfig button to store your building package as a iBuildingConfig file.
 Building Gen Packager Workflow/18.png)
- Click the New Building icon in the toolbar to access the New Building panel.
 Building Gen Packager Workflow/21.png)
- In the New Building panel, click the Load iBuildingConfig button to load your custom-built BuildGen configuration.
Adjust the Basic and Detailed settings in the panel and click Build. Building Gen Packager Workflow/22.png)
- Inspect the newly created building to fix mispositioned pivot points and troubleshoot Z-fighting where necessary.
 Building Gen Packager Workflow/24.png)
- After completing the inspection, return to BuildingGen Package and export your customized BuildingGen package by clicking either Archive or Export for Publish.
 Building Gen Packager Workflow/23.png)
The BuildingGen Packager panel will appear. Building Gen Packager Workflow/2.png)